<template>
  <div id="test">
      <el-select v-model="value5" disabled="true" placeholder="请选择">
        <el-option
          v-for="item in options"
          :key="item.value"
          :label="item.label"
          :value="item.value">
        </el-option>
      </el-select>
      <el-button @click="test">测试</el-button>
  </div>
  
</template>


 
 
<script>
  
  
  export default {
    data() {
      return {
        options: [{
          value: '1',
          label: '黄金糕'
        }, {
          value: '2',
          label: '双皮奶'
        }, {
          value: '3',
          label: '蚵仔煎'
        }, {
          value: '4',
          label: '龙须面'
        }, {
          value: '5',
          label: '北京烤鸭'
        }],
        value5:null
      }

    },
 
    mounted() {
       
    },
 
    methods: {
      test(){
        this.value5 ='5';
      }
    }
 
  }
 
</script>
